﻿<%namespace YouHP.Model%>

<%template _Header%>

<div class="layout2-cols2">
	
    <div class="col1">
		<%template _ProfileMenu%>
	</div>
	
	<div class="col2">
	
        <%csharp%>if(IsPost) { <%/csharp%>
        	
           <%template _MsgBox%>
        	    
        <%csharp%>} else { <%/csharp%>
            
        <script type="text/javascript">
            
            function SubmitCommentForm()
            {
                var str = _$("commenttext").value;
                if(str.length <= 2) {
                    _$("cmtstate").innerHTML = "评论长度不能少于 2 ";
                    return;
                }
                
          	    _$("commentform").submit();
            }
            
        </script>
            
        <div class="box">
    	    <div class="caption">
    	            发表留言：
    	    </div>
    	    <div class="content">
                <form id="commentform" name="commentform" method="post" action="">
    	           <div id="plshow">
    	           <div class="bor"> 
                        <textarea name="msg" cols="110" rows="6" id="msg" class="rev_textarea">
                        <%if ReplyCommentData.Id>0%>
                        回复{ReplyCommentData.PostUserName}：
                        <%/if%>
                        
                        
                        
                        </textarea>
                   </div>
                   &nbsp;&nbsp;请文明参与讨论，禁止漫骂攻击。
                   <input name="sb" type="submit" value="马上发表" class="btn" />
                   </div>
                </form>
            </div>
        </div>
                
        <%csharp%>} <%/csharp%>
            
    </div>

</div>
    

	
<%template _footer%>